export default [
  {
    path: "/",
    redirect: "/index",
  },
  {
    path: "/index", 
    name: "index",
    component: () => import("@/views/home/index.vue"),
    meta: {
      title: "首页",
      requireAuth: true,
      affix: true,
      closable: false,
    },
  },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      title: "登录页",
      requireAuth: true,
      affix: true,
      closable: false,
    },
  },
];
